<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <table border="1" width="300" height="100">
       <?php
         for($i = 1;$i<=9;$i++){
             echo "<tr>";
               for($n = 1;$n<=$i;$n++){
                   $v = $i*$n;
                   echo "<td>$n*$i=$v</td>";
               }
             echo "</tr>";
         }
       ?>

    </table>
</body>
</html>